// 引入封装好的axios
// ps:如果没有封装，正常引入axios即可
import axios from "./request";
// 	/api为配置跨域的路径变量
let reportUpload = '/api/report/upload'
export const Upload = () => {
  return axios.get(reportUpload)
}


export const userLogin = (data) => {
  return axios.post('/api/User/login', data)
}

export const userDevices = () => {
  return axios.get('/api/User/devices')
}